-- GENERATED SPELL FOR [Razak Ironsides] --


function spell0_21118(pUnit, Event) --@Shoot Tech Gun,n/a--
pUnit:FullCastSpellOnTarget(36246,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21118', 649, 1)
end

function Sorts_21118(pUnit, Event)
local choix_sorts_21118 = math.random(0, 0)
if choix_sorts_21118 == 0 then
pUnit:RegisterEvent('spell0_21118', 1, 1)
end
end

function mob21118_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21118', math.random(1500, 3000), 1)
end

function mob21118_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21118_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21118_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21118, 1, 'mob21118_Action')
RegisterUnitEvent(21118, 2, 'mob21118_Leave')
RegisterUnitEvent(21118, 3, 'mob21118_Kill')
RegisterUnitEvent(21118, 4, 'mob21118_Die')
